﻿using System.Collections.Generic;
using Newtonsoft.Json.Linq;

namespace KlavoNotifications.Fetch
{
    public class Game
    {
        public Game()
        {
            Players = new List<Player>();
        }

        public List<Player> Players { get; set; }

        public int Id { get; set; }
        public string Timeout { get; set; }
        public string Type { get; set; }
        public GameType GameType { get; set; }
        public int VocId { get; set; }
        public Voc Voc { get; set; }
        public string Competition { get; set; }
        public bool IsRegularCompetition { get; set; }
        public int RegularCompetitionX { get; set; }
        public string Mode { get; set; }
        public int BeginTime { get; set; }
        public bool Allowed { get; set; }

        public string Data { get; set; }
        public JToken Token { get; set; }
    }
}